package cn.tedu.csmall.pojo.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

@Data
public class CategoryAddNewDTO implements Serializable {
    @NotNull(message = "添加类别失败，必须填写类别名称！")
    private String   name   ;
    private Long  parentId ;
    private String keywords ;
    private Integer sort    ;
    private String icon   ;
    private Integer isDisplay ;
}
